<?php

namespace app\home\controller;
use app\Controller;
/**
 * 工具类
 * Class Tool
 * @package app\home\controller
 */
class Tool extends Controller
{
    /**
     * 整合 api
     */
    public static function checkApi()
    {
        $apiArr = [];
        config('api.apiGaoqing') && $apiArr[] = config('api.apiGaoqing');
        config('api.apiOne') && $apiArr[] = config('api.apiOne');
        config('api.apiTwo') && $apiArr[] = config('api.apiTwo');
        config('api.apiThree') && $apiArr[] = config('api.apiThree');
        config('api.apiFour') && $apiArr[] = config('api.apiFour');
        config('api.apiFives') && $apiArr[] = config('api.apiFives');
        return $apiArr;
    }

}
